<?php
/**
 * @package     Joomla.Platform
 * @subpackage  HTML
 *
 * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */

defined('JPATH_PLATFORM') or die;

/**
 * Utility class for javascript behaviors
 *
 * @package     Joomla.Platform
 * @subpackage  HTML
 * @since       11.1
 */
abstract class JHtmlInfinity
{
	/**
	 * @var   array   array containing information for loaded files
	 */
	protected static $loaded = array();

	public static function jQuery($debug = null)
	{
		if (!empty(self::$loaded[__METHOD__][$type]))
			return;
		$document = JFactory::getDocument(); 
		//$document->addScript('http://ajax.microsoft.com/ajax/jquery/jquery-1.7.2.min.js');
		$document->addScript('http://code.jquery.com/jquery-1.7.2.min.js');
		self::$loaded[__METHOD__][$type] = true;
	}
}
